//
//  SMSaveMoneyMessageModel.h
//  SaveMoney
//
//  Created by user on 2018/11/29.
//  Copyright © 2018年 Sunflower. All rights reserved.
//

#import "JKDBModel.h"

NS_ASSUME_NONNULL_BEGIN

typedef enum MoneyType {
    SaveMoney  = 0,
    CostMoney = 1,
    EverDaySave = 2
} MoneyStyleType;

@interface SMSaveMoneyMessageModel : JKDBModel

/** 用户key */
@property (nonatomic, copy) NSString *userKey;

/** 存钱项目ID */
@property (nonatomic, assign) NSInteger projectId;

/** 存钱项目ID */
@property (nonatomic, copy) NSString *saveMoneyTitle;

/** 创建时间 */
@property (nonatomic, copy) NSString *creationTime;

/** 总金额 */
@property (nonatomic, assign) NSInteger total;

/** 剩余金额 */
@property (nonatomic, assign) NSInteger bitMoney;

/** 当前存入 */
@property (nonatomic, assign) NSInteger saveMoney;

/** 当前取出 */
@property (nonatomic, assign) NSInteger costMoney;

/** 备注信息 */
@property (nonatomic, copy) NSString *message;

/** 存钱类型 */
@property (nonatomic, assign) MoneyStyleType type;


@end

NS_ASSUME_NONNULL_END
